#ifndef GAMEWIZARD_H
#define GAMEWIZARD_H

#include "ui_gamewizard.h"
#include "dialogbase.h"
#include "tableschema.h"

class GameWizard : public DialogBase<Ui_gameDialog>
{
    Q_OBJECT

public:
    GameWizard( QWidget * parent = NULL );
    ~GameWizard();
    void data( int & topicCategory, int & topicCount, QVector<int> & values, int & playersCount ) const;

private slots:
    void onBibleCheckBoxToStateChanged( bool checked );
    void onTeoCheckBoxStateChanged( bool checked );
    void onScientificCheckBoxStateChanged( bool checked );
    void onHumanCheckBoxStateChanged( bool checked );
    void onValusListWidgetItemClicked( QListWidgetItem * item );
    void onOk();

private:
    void enableTopicCategory( TopicCategory::Enum topicCategory, bool enable );
    void enableSavePushButton();

private:
    int m_topicCategory;
    QSet<int> m_values;
};

#endif
